package com.naiterui.ehp.bp.bo.patient;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 微信小程序消息参数
 *
 * @author yangfuya
 * @version 1.0
 * @date 2021/5/25 15:47
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MsgMaPublishParamBO {

    private Long doctorId;
    private Long patientId;
    /**
     * 跳转路径
     */
    private String path;
    private String msgId;
    private Integer msgType;
    private String content;
    /**
     * 病情id
     */
    private String diseaseId;
    /**
     * 病历id
     */
    private String medicalRecordId;
    /**
     * 处方id
     */
    private Long recomId;
    /**
     * 随访id
     */
    private Long followUpId;

    /**
     * 消息发送类型
     */
    public static class MsgType {
        /**
         * 文本
         */
        public static final int TEXT = 1;
        /**
         * 图片
         */
        public static final int IMAGE = 2;
        /**
         * 语音
         */
        public static final int VOICE = 3;
        /**
         * 视频
         */
        public static final int VIDEO = 4;
        /**
         * 小视频
         */
        public static final int SHORTVIDEO = 5;
        /**
         * 处方
         */
        public static final int RECOMMEND = 6;
        /**
         * 病历
         */
        public static final int MEDICALRECORD = 7;
        public static final int PAIDCONSULT = 8;
        public static final int PATIENTDISEASE = 9;
        public static final int CLINICFIRSTCONSULT = 10;
        /**
         * 视频问诊
         */
        public static final int VIDEO_CONSULT = 13;
        /**
         * 服务评价
         */
        public static final int SERVICE_EVALUATION = 14;
        /**
         * 退款通知
         */
        public static final int REFUND_NOTICE = 15;
        /**
         * 发货
         */
        public static final int SHIP_NOTICE = 16;
        /**
         * 收货
         */
        public static final int RECEIPT_REMINDER = 17;
        /**
         * 群发消息
         */
        public static final int GROUP_MESSAGE = 18;
        /**
         * 续方通知
         */
        public static final int CONTINUED_PRESCRIPTION = 19;
        /**
         * 用药提醒
         */
        public static final int MEDICATION_REMINDER = 20;
        /**
         * 处方支付
         */
        public static final int PRESCRIPTION_PAY = 21;
        /**
         * 随访任务未开始
         */
        public static final int FOLLOW_UP_NOT_STARTED = 22;
        /**
         * 随访任务已开启
         */
        public static final int FOLLOW_UP_STARTED = 23;

        /**
         * 随访任务已取消
         */
        public static final int FOLLOW_UP_CANCEL = 24;

    }
}
